<?php

class Model_Users
{
	protected $_user_id; // user table id
	protected $_account; // user account, no duplicated.
	protected $_fb_account; //face book token.
	protected $_name; //user name. Maybe duplicate.
	protected $_password; //user password
	protected $_user_type; //user type. 1: common user. 2: admin role user.
	protected $_address; //user address
	protected $_birthday; //user birthday
	protected $_tel; //user phone number
	protected $_university; //user university
	protected $_major; //user major
	
	/**
	 * @return the $_user_id
	 */
	public function getUser_id() {
		return $this->_user_id;
	}

	/**
	 * @return the $_fb_account
	 */
	public function getFb_account() {
		return $this->_fb_account;
	}
	
	/**
	 * @return the $_account
	 */
	public function getAccount() {
		return $this->_account;
	}

	/**
	 * @param field_type $_account
	 */
	public function setAccount($_account) {
		$this->_account = $_account;
	}

	/**
	 * @return the $_name
	 */
	public function getName() {
		return $this->_name;
	}

	/**
	 * @return the $_password
	 */
	public function getPassword() {
		return $this->_password;
	}

	/**
	 * @return the $_user_type
	 */
	public function getUser_type() {
		return $this->_user_type;
	}

	/**
	 * @return the $_address
	 */
	public function getAddress() {
		return $this->_address;
	}

	/**
	 * @return the $_birthday
	 */
	public function getBirthday() {
		return $this->_birthday;
	}

	/**
	 * @return the $_tel
	 */
	public function getTel() {
		return $this->_tel;
	}

	/**
	 * @return the $_university
	 */
	public function getUniversity() {
		return $this->_university;
	}

	/**
	 * @return the $_major
	 */
	public function getMajor() {
		return $this->_major;
	}

	/**
	 * @param field_type $_user_id
	 */
	public function setUser_id($_user_id) {
		$this->_user_id = $_user_id;
	}

	/**
	 * @param field_type $_fb_account
	 */
	public function setFb_account($_fb_account) {
		$this->_fb_account = $_fb_account;
	}

	/**
	 * @param field_type $_name
	 */
	public function setName($_name) {
		$this->_name = $_name;
	}

	/**
	 * @param field_type $_password
	 */
	public function setPassword($_password) {
		$this->_password = $_password;
	}

	/**
	 * @param field_type $_user_type
	 */
	public function setUser_type($_user_type) {
		$this->_user_type = $_user_type;
	}

	/**
	 * @param field_type $_address
	 */
	public function setAddress($_address) {
		$this->_address = $_address;
	}

	/**
	 * @param field_type $_birthday
	 */
	public function setBirthday($_birthday) {
		$this->_birthday = $_birthday;
	}

	/**
	 * @param field_type $_tel
	 */
	public function setTel($_tel) {
		$this->_tel = $_tel;
	}

	/**
	 * @param field_type $_university
	 */
	public function setUniversity($_university) {
		$this->_university = $_university;
	}

	/**
	 * @param field_type $_major
	 */
	public function setMajor($_major) {
		$this->_major = $_major;
	}
}

